public function getMetadata(): Resource {
        $meta = (new Graph())->resource('.');

        $meta->addResource(RC::relProp(), $this->service->getResource()->getId());
        $meta->addResource(RC::idProp(), $this->getId());
        $meta->addLiteral(RC::titleProp(), 'A dissemination service matching rule');

        $meta->addResource(RC::get('fedoraServiceMatchProp'), $this->property);
        $meta->addLiteral(RC::get('fedoraServiceMatchValue'), $this->value);
        $meta->addLiteral(RC::get('fedoraServiceMatchRequired'), $this->required);

        return $meta;
    }