removeRule Method test sample