rule detectors split out
remove duplicate textures