moved code from PolicyParser to UriPolicy
simpler and stricter page format handling
avoid compiler warnings about postfixOps