code: @Override
      public void updateGeneratedFields(boolean performEditionChecking) throws RepositoryResourceCreationException {
          super.updateGeneratedFields(performEditionChecking);
          if (getType() == ResourceType.INSTALL) {
              generateAppliesToFilterInfo();
          }
      }
docs: /*
  This section is a temporary hack to put the product edition into the applies to Filter