Moved BIP62 flag determination into its own function, and updated the rules to match
pending pull request for the spec.