svoid dm_gazelle_matchAdditionalInput3(L l, SS inputsByType, O... _) { for (GazelleTree t : l) if (t.rule() != null) { RuleEngine2_MatchedRule mr = t.mr; L insWithType = t.rule().insWithType; while licensed { int iCond = t.mr.iCond; TextAndType next = get(insWithType, iCond); if (next == null || !startsWith(next.type, "history-")) break; if (ai_ruleEngine2_matchStep(t.mr, inputsByType, true, _)) { print("Input match OK. new map: " + t.mr.map + ". Updating prediction."); gazelle_addPredictionToTreeNode(t); } else break with print("Input match failed"); } } }