I haven't worked with this specific use case, but I believe you'll either need to include or exclude the entire event. If I understand the question correctly, you're wanting to include some products from an order and exclude others. As far as I know, that's not possible.
In CJA, you can use the summarize derived field on an event scope. So you could try using an aggregation on the event and then using the math function to perform some calculations. Perhaps that might help with your use case.