Remove rules dirs