grammars are a kind of rules.