'Remove a Port forwarding rule.
:param node: Node used in the rule
:type  node: :class:`CloudStackNode`
:param rule: Forwarding rule which should be used
:type  rule: :class:`CloudStackPortForwardingRule`
:rtype: ``bool``'

def ex_delete_port_forwarding_rule(self, node, rule):

    node.extra['port_forwarding_rules'].remove(rule)
    node.public_ips.remove(rule.address.address)
    res = self._async_request(command='deletePortForwardingRule', params={'id': rule.id}, method='GET')
    return res['success']
