@Override
  public boolean isSelected(@NotNull AnActionEvent e) {
    Project project = e.getProject();
    if (project == null) return false;

    return PropertiesComponent.getInstance(project).getBoolean(getRuleName(), isEnabledByDefault());
  }
@Override
  public boolean isSelected(@NotNull AnActionEvent e)