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