src/XQueue/Maileon/API/ContactFilters/ContactFilter.php
function addRule($rule)
    {
        if (!$this->rules) $this->rules = array();
        array_push($this->rules, $rule);
    }
function addRule($rule)
    {
        if (!$this->rules) $this->rules = array();
        array_push($this->rules, $rule);
    }
Adds a rule to the contact filter

@param com_maileon_api_contactfilters_Rule $rule