static L ai_ruleEngine2_rulesForInput_5_allConditions(RuleEngine2 engine, SS inputsByType) { L l = ai_ruleEngine2_rulesForInput_5(engine, inputsByType); new L done; new L notDone; while (nempty(notDone)) { for (RuleEngine2_MatchedRule mr : l) { if (!mr.moreConditions()) done.add(mr); else if (ai_ruleEngine2_matchStep(mr, inputsByType)) notDone.add(mr); } l = notDone; } ret done; }