private List<ConditionalFormattingRule> copyConditionalFormattingRules(
                final List<ConditionalFormattingRule> rules) {

            if (rules == null) {
                return null;
            } else {
                return rules.stream()
                        .map(col -> col.copy()
                                .build())
                        .collect(Collectors.toCollection(ArrayList::new));
            }
        }
Builder for constructing a {@link TableSettings tableSettings}
stroom-core-shared/src/main/java/stroom/dashboard/shared/TableComponentSettings.java