package whitelist blacklisting for resource retrieval

It will be used for package white listing and blacklisting in rapp manager.