public function with() { $this->closeRule(); if (empty($this->rules)) { call_user_func($this->defaultAnswerCallback, $this); $this->closeRule(); } $this->criteria = $this->matcherFactory->adaptAll(func_get_args()); return $this; }