public function register()
    {
        $this->rule->resolve(
            $this->pattern,
            $this->conditions
        )->add();

        if (! empty($parameters = $this->rule->getParameters())) {
            $this->tag->add($parameters);
        }
    }