Refactoring the rate response from endicia