Can i have more detail about this part --> Step 2: A complex array with groups of ANDs and ORs, few code is missing here i.e:
- foreach (var rmGroup in groups), here groups is missing
- var productFilter = SharedFilters.GetProductsFilter(products); missing
- var filter = SharedFilters.GetFilter(rmFilter.AggregateName, rmFilter.FieldName, rmFilter.OperationName, rmFilter.Value); missing

can you please share complete code snippet?