code: function addRule($rule)
      {
          if (!$this->rules) $this->rules = array();
          array_push($this->rules, $rule);
      }
docs: Adds a rule to the contact filter
  
  @param com_maileon_api_contactfilters_Rule $rule