public function pushRule()
    {
        $args = func_get_args();

        // TODO: this can probably be done by args+current_ruleset
        foreach (array_reverse($args) as $arg) {
            array_unshift($this->current_ruleset, $arg);
        }
    }
public function pushRule()
    {
        $args = func_get_args();

        // TODO: this can probably be done by args+current_ruleset
        foreach (array_reverse($args) as $arg) {
            array_unshift($this->current_ruleset, $arg);
        }
    }
public function pushRule ( ) { $ args = func_get_args ( ) ; // TODO: this can probably be done by args+current_ruleset foreach ( array_reverse ( $ args ) as $ arg ) { array_unshift ( $ this -> current_ruleset , $ arg ) ; } }
Adds new rule into a rule-set, which will be executed next.
You can specify single or multiple rules, this method accepts
variable arguments.

Rules must be normalized.
Adds new rule into a rule - set which will be executed next . You can specify single or multiple rules this method accepts variable arguments .