RuleBuilder (TokenSet tokenSet, TokenSet parent) { RuleCondition before = new RuleCondition(parent, null, tokenSet); RuleCondition after = new RuleCondition(parent, tokenSet, null); return new RuleBuilder(before, after); }