parameters: (self, message)
return_statement: return [], False
docstring: Evaluate if this rule apply to the given message.
  
          evaluation return a list of TAGS to add or nothing
          stop condition if set and if result is empty or not
          and match this stop condition, processing of rules
          on this message stop.
docstring_summary: Evaluate if this rule apply to the given message.
docstring_tokens: Evaluate if this rule apply to the given message .
function: def eval(self, message):
          """
          Evaluate if this rule apply to the given message.
  
          evaluation return a list of TAGS to add or nothing
          stop condition if set and if result is empty or not
          and match this stop condition, processing of rules
          on this message stop.
  
          """
          # XXXX WARN WARN WARN WARN WARN WARN WARN WARN
          #
          # This is a REALLY BASIC filtering concept with no
          # security consideration abount what is evaluated !!!!
          #
          # XXXX WARN WARN WARN WARN WARN WARN WARN WARN
  
          res = eval(self.filter_expr)
          if self.stop_condition is not None:
              if self.stop_condition and res:
                  return self.tags, True
              if not self.stop_condition and not res:
                  return self.tags, True
          if res:
              return self.tags, False
          return [], False
function_tokens: def eval ( self , message ) : # XXXX WARN WARN WARN WARN WARN WARN WARN WARN # # This is a REALLY BASIC filtering concept with no # security consideration abount what is evaluated !!!! # # XXXX WARN WARN WARN WARN WARN WARN WARN WARN res = eval ( self . filter_expr ) if self . stop_condition is not None : if self . stop_condition and res : return self . tags , True if not self . stop_condition and not res : return self . tags , True if res : return self . tags , False return [ ] , False