Hiding custom perspective for user group

Hi, I have a problem with making my perspective only accessible for editors and admins. I created my own domain/domain rule and would like to give permissions to editors and admins to see the perspective. Maybe someone can explain where I’m making a mistake. I’m using v13.4.0.

/form-perspective:
  jcr:primaryType: hipposys:domain
  /form-perspective:
    jcr:primaryType: hipposys:domainrule
    /exclude-admin-iframe:
      jcr:primaryType: hipposys:facetrule
      hipposys:equals: false
      hipposys:facet: plugin.class
      hipposys:filter: false
      hipposys:type: String
      hipposys:value: com.example.forms.FormPerspective
  /editor:
    jcr:primaryType: hipposys:authrole
    hipposys:groups: [editor]
    hipposys:role: admin