Set<ArrangementSettingsToken> (@NotNull ArrangementSettings settings) { Set<ArrangementSettingsToken> groupingRules = new HashSet<>(); for (ArrangementGroupingRule rule : settings.getGroupings()) { groupingRules.add(rule.getGroupingType()); } return groupingRules; }