!7 cmodule AnalyzeAppliedRules > DynSingleFunctionWithPrintLog { void doIt { L concepts = cloneList((L) dm_requireAndCall("#1021413/AppliedRules", 'concepts)); print("Got " + n2(concepts, "concept")); for (O c : concepts) pcall { S judgement = getString judgement(c); S struct = getString matchedRuleStruct(c); O data = safeUnstruct(struct); // RuleEngine2_MatchedRule print(judgement + " : " + className(data) + " " + shorten(40, struct)); Map map = cast getOpt(data, 'map); orint(getOpt_cache.get(getClass(data))); print(keys(data/DynamicObject.fieldValues)); print(" Map: " + map); } } }