svoid dm_gazelle_matchStep_additionalInput(GazelleTree> t, SS inputsByType, O... _) { if (t.rule() == null) ret; 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"); } }