grouping colours in filter to reduce SLD parameter size.