It can happen... What breed are you hatching? If they are seramas they tend to hatch early... Also temps.. A little too high of temp will cause an early hatch.
But more than likely, she just wanted to get out
Seriously The rocking motion is the chick moving inside of the egg. It is getting ready to pip.