using pyparsing for more conveniently parsing location policy.
include pyparsing library