[PATCH 2/4] split up rate_alloc() into rate_alloc() and rate_init()