code: def rules(self, value):
          
  
          if value is not None:
              assert type(value) in (tuple, list), "'{0}' attribute: '{1}' type is not 'tuple' or 'list'!".format(
                  "rules", value)
          self.__rules = value
docs: Setter for **self.__rules** attribute.
  
          :param value: Attribute value.
          :type value: tuple or list