static S ai_autoApplyRules(S input) ctex { temp temp_ai_setVar("#input", input); L rules = ai_texts_verified("$X", "is", "an auto-apply rule"); ai_prepLoadFunctions(); Class c = loadFunctions_cached(rules); for (S ruleName : rules) try answer (S) pcallOpt(c, ruleName); null; }