@NotNull
  public static Map<String, EventGroupRules> createValidators(@Nullable EventLogBuild build,
                                                              @NotNull EventGroupRemoteDescriptors groups,
                                                              @NotNull GlobalRulesHolder globalRulesHolder,
                                                              @NotNull String recorderId) {
    ValidationSimpleRuleFactory ruleFactory = new ValidationSimpleRuleFactory(new CustomRuleProducer(recorderId));
    return groups.groups.stream()
      .filter(group -> EventGroupFilterRules.create(group, EventLogBuild.EVENT_LOG_BUILD_PRODUCER).accepts(build))
      .collect(Collectors.toMap(group -> group.id, group -> {
        return EventGroupRules.create(group, globalRulesHolder, ruleFactory, FeatureUsageData.Companion.getPlatformDataKeys());
      }));
  }
@NotNull
  public static Map<String, EventGroupRules> createValidators(@Nullable EventLogBuild build,
                                                              @NotNull EventGroupRemoteDescriptors groups,
                                                              @NotNull GlobalRulesHolder globalRulesHolder,
                                                              @NotNull String recorderId)