List<ArrangementSectionRule> (@Nullable List<?> rules) { if (rules == null) { return ContainerUtil.emptyList(); } return ContainerUtil.map(rules, o -> o instanceof ArrangementSectionRule ? (ArrangementSectionRule)o : ArrangementSectionRule.create((StdArrangementMatchRule)o)); }