Any means to auto-delete app/component rules for files that no longer exist?

After uninstalling some programs, rules for them are still defined in CPF. I can do some manual cleanup but I could miss some rules, or I get busy at can’t do the cleanup at the time and could forget to do it later.

The extra rules are superfluous so the defunct application rules don’t impact anything by pointing to files that no longer exist or parent-child relationships under the component rules that no longer apply. However, it is possible that the product gets installed again, maybe even the same version. That doesn’t mean that I want all those old rules to continue to apply to the reinstall.

Other than manually wading through all the app and component rules of which there are LOTS of them, does CPF ever detect that the files on which the rules are based no longer exist and will delete those superfluous rules? Am I expected to delete them all, rescan for known applications, and redefine all the unknown files and again redefine all the parent-child relationships?

I’m not aware of any automatic feature that cleans up invalid rules. For applications, they should be quite few and therefore easy to remove manually. For components, I do this:

  1. Disable internet access.
  2. Shut down CPF.
  3. Delete the following registry key: My Computer\HKEY_LOCAL_MACHINE\SYSTEM\Software\Comodo\Personal Firewall\AppCtrl\Components

Please note, this will remove ALL components rules. In my case it doesn’t matter because I’ve set them all to “allow”.