human
I wrote the below code

    objective = kwargs.get('objective', identity)
    def minrule(expr):
        return min([rule(expr) for rule in rules], key=objective)
    return minrule

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def minimize(*rules, **kwargs):