Change rule target type