#NEWLINE# def _validate_security_group_rules( self , context , security_group_rules ) : #NEWLINE# #INDENT# sg_id = self . _validate_single_tenant_and_group ( security_group_rules ) #NEWLINE# for rule in security_group_rules [ 'security_group_rules' ] : #NEWLINE# #INDENT# self . _validate_security_group_rule ( security_group_rules , rule ) #NEWLINE# #UNINDENT# return sg_id