change ranges rule