public function with(...$arguments): Stub
    {
        $this->closeRule();

        if (empty($this->rules)) {
            $defaultAnswerCallback = $this->defaultAnswerCallback;
            $defaultAnswerCallback($this);
            $this->closeRule();
        }

        $this->criteria = $this->matcherFactory->adaptAll($arguments);

        return $this;
    }