Inject rate code into rates