Updated method AbstractGrammarTest#getRules()