It is not so clear for documentation purposes, but grammar rules are in between 850-4988 lines.
File/Line size does not tell much about Grammar complexity, but anyway, the whole parse.y file is bigger than cpython/Parser directory. BTW, Ruby's parse.y file is just the input to Bison.
Ruby grammar is hard to find but there it is http://www.ipa.go.jp/osc/english/ruby/Ruby_final_draft_enu_2...