Extracting PolicyUtils

Extract Policy Utils for easier usage in future tests.