Fix in basetype rules order.