XML Manifest for each application describing settings

This has been something on my mind for a while, but I have recently been playing with Android as well, so it got a little more clear to me what I intend.

Ideally, each application would have an XML manifest file (similar to the AndroidManifest.xml) describing all of the security features it needed, as well as the domains/IP addresses it would normally contact during normal use. Comodo and possibly other Friewalls would use this XML manifest to perform the firewalling function. Applications installed might eventually even include their own manifests.

But manifests would allow firewall settings to be much more portable, and even shareable. Ideally I would be able to simply download one of a number of possible manifests shared in the community for a particular application, and edit it if I wanted to lock things down further.