@Override
  public @NotNull UsageGroupingRule @NotNull [] getAllRules(@NotNull Project project, @Nullable UsageView usageView) {
    return ActiveRules.getAllRules(
      project, UsageViewSettings.getInstance(),
      usageView == null ? null: usageView.getPresentation(),
      supportsNonCodeRule(), supportsScopesRule(), supportsModuleRule()
    );
  }
@Override
  public @NotNull UsageGroupingRule @NotNull [] getAllRules(@NotNull Project project, @Nullable UsageView usageView)