<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_lbaas_l7rule(self, l7rule, l7policy, body=None):
 """Updates L7 rule."""

        return self.put(self.lbaas_l7rule_path % (l7policy, l7rule),
                        body=body)