Remove unused nonterminals fixed. Grammar.ToString fixed.