That's the idea of a universal motor. The split-ring reverses the current direction (so keeps the current in the rotor coil constant in direction) but the magnetic field reverses direction due to the AC (instead of the current changing direction of a normal DC motor) to keep the torque constant...