cleaned up checking of output/input rate. Dealing with rate unit and the
fact that the rate is a range.