Sorry for not being very clear, I guess the general scope of the rule would be run from an assembly, the assembly would not have any sub assemblies only parts. These parts contained in this assembly are being sent out to different companies to be made. Essentially each part that is being sent out to company A, would be flame cut so they are only looking at the IDW of the part with the clearance holes/profile to cut, then company B would get the full finished print, showing all the holes, clearance holes/profile and tapped holes and other smaller holes that company A would not flame cut.
So I have been making a print of the finished part-which company B would get, but without making a separate print for each part or making separate parts and prints I have been using model state within each part to show only the flame cut holes and profile. So within each parts drawing i make the finished drawing, then set the model state of the base view to show only what company A needs then export to send out then swap back to the primary model state to send out the print to company B.
Basically my thought was to would take each part that needs this done, drop it into an assembly with no sub assemblies, set the model state of each part within this assembly to "company A" that way the rule could look at the model state of the part within the assembly, open the parts idw-already finished for company B, then change the view within the idw to "company A" to run the export rules on the idw.
Thinking about it now, I name the model state the same for each part that this is done for, it might make more sense to have the rule after it opens the IDW, to just change the model state of the view to "company B" ? Instead of having to reference the model state of the part, as this rule would basically only be doing this anyways then running the export rules on the IDW, it wouldn't need to check every parts model state, just know to change the model state of the drawing view within the drawing, given that the part has the model state already saved in the part.