I'm working on an utility to delete all the rules in the applications that are not used anymore .
Everyday we create multiple rules and few rules are migrated to higher environments .When we check the referencing for these rules, we see that these are not referenced anywhere in the application.
I'm trying to fetch the list of rules that are not in use for a long time and check their references .Copy those to new ruleset and bulk delete it. However ,I did not come across any way to find when a rule was last used .Any help here is much appreciated .
***Updated by Moderator: Marissa to update categories***