def update_l7rule(self, old_l7rule, l7rule, service):
        """Update lb l7rule."""
        LOG.debug("Updating l7rule")
        target_listener = service["listeners"][0]
        target_listener["provisioning_status"] = "PENDING_UPDATE"
        self._common_service_handler(service)
        return self._update_target(service,
                                   self._update_l7rule_status,
                                   service['l7policy_rules'])