// matches first condition, leaves rest in MatchedRule static L ai_ruleEngine2_rulesForInput_5(RuleEngine2 engine, SS inputsByType) { new L l; for (RuleEngine2.Rule rule : engine.rules) { final new RuleEngine2_MatchedRule matched; matched.rule = rule; matched.map = ciMap(); matched.tokenizationFunction = or(matchAny_firstGroup("tokenize with *", rule.comments), f javaTokNPunctuationWithBrackets); if (!ai_ruleEngine2_matchStep(matched, inputsByType)) continue; l.add(matched); } ret l; }