GrammarSlots are added to the list after unused nonterminals are removed.