Instead of the rule returning a boolean, make it return a ‘RuleResponse’ having two attributes
In this while keeping the rule usable in a decision.