'Return a Forwarding Rule object from the JSON-response dictionary.
:param  forwarding_rule: The dictionary describing the rule.
:type   forwarding_rule: ``dict``
:return: ForwardingRule object
:rtype: :class:`GCEForwardingRule`'

def _to_forwarding_rule(self, forwarding_rule):

    extra = {}
    extra['selfLink'] = forwarding_rule.get('selfLink')
    extra['portRange'] = forwarding_rule.get('portRange')
    extra['creationTimestamp'] = forwarding_rule.get('creationTimestamp')
    extra['description'] = forwarding_rule.get('description')
    region = forwarding_rule.get('region')
    if region:
        region = self.ex_get_region(region)
    target = self._get_object_by_kind(forwarding_rule['target'])
    return GCEForwardingRule(id=forwarding_rule['id'], name=forwarding_rule['name'], region=region, address=forwarding_rule.get('IPAddress'), protocol=forwarding_rule.get('IPProtocol'), targetpool=target, driver=self, extra=extra)
