static F1 itemToMap_ExecutedRule_v2() { ret func(ExecutedRule r) -> Map { litorderedmap( "Output" := nullIfEmpty(join("|", r.output)), "Produced Facts" := nullIfEmpty(join("|", r.facts)), "New Input" := nullIfEmpty(join("|", r.newInput)), Rule := nlLogic_ruleWithParamsForUser(r.rule)) }; }