Added a getPolicies function to Guard