improve removal of exceeding blank lines in rugby.py

now it doesn't affect other unrelated parts of the article