Rogue waves of the nonlinear Schrödinger equation with even symmetric perturbations