Forgot to update GrammarTreeVisitor to support modes with no rules