def rule_create(request, **kwargs):
 body = {'firewall_rule': kwargs}
 rule = neutronclient(request).create_firewall_rule(body).get('firewall_rule')
 return Rule(rule)

def rule_create ( request , ** kwargs ) : body = { 'firewall_rule' : kwargs } rule = neutronclient ( request ) . create_firewall_rule ( body ) . get ( 'firewall_rule' ) return Rule ( rule )
create a firewall rule .