Allow policies to be defined in yaml