Coding for % and Flat Rate per Category