Question

How to have a snapshot of a rule which can be restored

We have a use case where in system the sends out mails to the end users. These mail templates are configured in correspondence. Now we have requirements where we are privilege to the user to edit those templates. Rule Delegation is not meeting exact requirement. So we are doing the same from back end by running some activities which will update the rule itself. The rule getting updated as expected with user inputs but at run time while sending mails pega is not picking the latest updated rule instance rather it is picking the rule instance updated from designer studio having snapshot. When the user update the rule from UI then for that rule,snapshot is also not saved. I am thinking is it because of snapshot is not saved which is why the latest rule is not picked up at run time?

please suggest me. Thank you in advance