remove file from rules