#NEWLINE# @ property #NEWLINE# def rules( self ) : #NEWLINE# #INDENT# 'Wraps transmitted rule info in the novaclient rule class.' #NEWLINE# if ( '_rules' not in self . __dict__ ) : #NEWLINE# #INDENT# manager = nova_rules . SecurityGroupRuleManager ( None ) #NEWLINE# rule_objs = [ nova_rules . SecurityGroupRule ( manager , rule ) for rule in self . _apiresource . rules ] #NEWLINE# self . _rules = [ SecurityGroupRule ( self ) for rule in rule_objs ] #NEWLINE# #UNINDENT# return self . __dict__ [ '_rules' ]