Define pp.UMVersion helper for pp rules.

Enables writing rules without referring to the rules of encoding in LBSRCE.

I'm not convinced by the rounding going on here (and in `check_int`). What's wrong with just `int(minor)`? For that matter, given the usage and the docstring we could even get away with not bothering with an explicit conversion to `int`.