Court ruling bans Pa. woman from Twitter