static F1 itemToMap_ExecutedRule() { ret func(ExecutedRule r) -> Map { litorderedmap( Output := nullIfEmpty(join("|", r.output)), Facts := nullIfEmpty(join("|", r.facts)), "New Input" := nullIfEmpty(join("|", r.newInput)), "Remaining Condition" := strOrNull(r.remainingCondition), "Failure Level" := r.remainingCondition == null ? null : nlLogic_failureLevelString(r), Rule := r.rule) }; }