That is a possibility. Also possible is to pick up the fuel line release tool (cheap at any parts store) and remove the line from the rail, then leave the rail on the motor.

I read it originally that you needed to get the electrical connector off the injectors.