Added category parsing and removed rank parsing because the rank declaration
is not mentioned anywhere in the UDI core specification.