<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_fw_rule(self, rule_id):
 """Return the firewall rule, given its ID. """

        rule = None
        try:
            rule = self.neutronclient.show_firewall_rule(rule_id)
        except Exception as exc:
            LOG.error("Failed to get firewall rule for id %(id)s "
                      "Exc %(exc)s", {'id': rule_id, 'exc': str(exc)})
        return rule