Fixes duplicate -I rule generation.