def METHOD_NAME(rule):
    """Return original expr if rule returns None."""
    def null_safe_rl(expr):
        result = rule(expr)
        if result is None:
            return expr
        return result
    return null_safe_rl