build_filter_conditions and pricing rules