@Override
  public void update(@NotNull AnActionEvent e) {
    final ArrangementSectionRulesControl control = e.getData(ArrangementSectionRulesControl.KEY);
    if (control == null) {
      return;
    }
    e.getPresentation().setEnabledAndVisible(control.getRulesAliases() != null);
  }
@Override
  public void update(@NotNull AnActionEvent e)