reorder rules