void () { ArrayList<DependencyRule> newList = new ArrayList<>(getItems()); final NamedScope scope = CustomScopesProviderEx.getAllScope(); newList.add(new DependencyRule(scope, scope, myDenyRule)); setItems(newList); }