remove useless rule