List<ArrangementSectionRule> (@NotNull ArrangementSettings settings) { return settings instanceof ArrangementExtendableSettings ? ((ArrangementExtendableSettings)settings).getExtendedSectionRules() : settings.getSections(); }