save filter and grouping from xml to case type