function parse_rule() { $rule = trim($this->rule); $tokens = array(); $this->tokenize($rule, $tokens); $this->parsed = count($tokens) == 1 ? array_pop($tokens) : new Token\Sequence($tokens); }