created API for managing Policies, associating them with groups, and creating rules for policies