Updated getRates to support "all" parameter