Parsing now converts a policy string into an object structure. Basically most here now, with lots of tidy-up.