Shardul,
I guess before I hep you with ruleset, you need to have little understanding of EM. Through your questions, I long figured that you haven't done EM before or no clue.
Please read the following blogs which will help you in understanding EM and how it works. Once you read it, let's work on helping you with building the ruleset for your scenario.
Also, I would like to know what kind of Z objects are there in your current EM design. This knowledge will help us in helping you better.
Configuring an End-to-End SCEM scenario (1/3)
Configuring an End-to-end SCEM scenario (2/3)
Configuring an End-to-end SCEM scenario (3/3)
Thanks,
Vishnu