remove repeated rule