rhbz988202 - rewrite to use filter to do the rate limiting