Added support multiple policies in grammar