Fix some errors in lang spec grammar.

One was a name collision since mode.rules is used by the system but easily
confused as something available for use by the user. I wonder how I can
improve on that?