I suggest that we simply put in the body of the function, without unnecessarily wrapping it in a function.
It sees like the solution we had before (still without the special treatment for `Rule` function results) was able to do that, no?