fix injecting updated import rule