In many ways WAW behavior for some reason is like teenage behavior, not adult behavior. How do you get a teen to grow up while maintaining a great relationship with them?

Example:
"...I said, "Don't be rude to me like that,"..."
Apparently this is a pattern: she throws a tantrum, you say this because you feel reallyl hurt and then later she apolgizes. How can you respond differently to break this pattern without telling her what to do so that she now feels she has more "space"?