protected UsageFilteringRule @NotNull [] getActiveFilteringRules(Project project) {
    List<UsageFilteringRuleProvider> providers = UsageFilteringRuleProvider.EP_NAME.getExtensionList();
    List<UsageFilteringRule> list = new ArrayList<>(providers.size());
    for (UsageFilteringRule rule : UsageFilteringRules.usageFilteringRules(project)) {
      if (myFilteringRulesState.isActive(rule.getRuleId())) {
        list.add(rule);
      }
    }
    for (UsageFilteringRuleProvider provider : providers) {
      //noinspection deprecation
      ContainerUtil.addAll(list, provider.getActiveRules(project));
    }
    return list.toArray(UsageFilteringRule.EMPTY_ARRAY);
  }
protected UsageFilteringRule @NotNull [] getActiveFilteringRules(Project project)