code: @Activate
      protected void activate(ComponentContext context) {
          Dictionary properties = context.getProperties();
          name = (String) properties.get("name");
          filter = ResourceFilterMapping.fromString((String) properties.get("filter"));
      }
docs: creates the filter instance for the configured rule