avoid using expanded rules for detecting nullable nonterminals
handle sets in TMParserCompiler