When a rule defines one or more deprecated keys, those keys should be stored in database.
- at startup, store any new deprecated key for any rule
- at startup, remove any deprecated key stored in DB for a rule which is not defined anymore in the plugin
- remove those deprecated keys when removing a rule
Those deprecated keys in database will be used to detect a plugin downgrade which requires to revert a rule renaming.