Mapping rate codes in DSTAT