there could be different conditions which identify a "assigned" or "affected" product. I would implement such a requirement by defining the product attribute which has to be used/set in a action condition within a cart rule and than validate those condition by looping all currently active rules. Best practice: SKU