What is best way to avoid moving unwanted classes during deployment
When we create a product and include individual rule sets, all the classes mentioned in that rule set will get added. This is creating problem in below scenario,
Suppose we have created a class in XXX rule set and 01-01-02 version where as there is some other functionality in 01-01-01 version. When we move XXX 01-01-01 rule set to higher environment, all the classes in that rule set get added which is not desirable.
To solve this either we need to select advance option and deselect check box for individual rule. or we need to select Exclude Non Rule Resolved Rules check box while creating product (when selected this option, rule set version is not getting moved).
Can anybody suggest what is best way to solve this?