Good for setting a boundary. I agree with Trapt that you didn't have to tell her, but if that is a 180 for you...then good.
Remember the hard part comes now....you need to follow through with the boundary. When she comes back at you with unacceptable communication...you walk away...no explanation...nothing. If you don't, she will see you as weak and unconfident...