svoid dm_gazelle_matchStep_additionalInput(GazelleTree t, SS inputsByType, O... _) { if (t.rule() == null) ret; bool debug = boolPar debug(_); TextAndType next = get(t.rule().insWithType, t.mr.iCond); if (next == null || !startsWith(next.type, "history-")) ret; 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"); }