remove InjectionRule and add InjectionMapping.