#NEWLINE# def append( self , * item_description_or_rule , **kwargs ) : #NEWLINE# #INDENT# if ( ( len ( item_description_or_rule ) == 1 ) and isinstance ( item_description_or_rule [ 0 ] , Rule ) ) : #NEWLINE# #INDENT# item = item_description_or_rule [ 0 ] #NEWLINE# super ( RuleList , self ) . append ( item ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# item = Rule ( True , * item_description_or_rule , ** kwargs ) #NEWLINE# super ( RuleList , self ) . append ( item )