Fixed the rules problem! blank lines are now ignored!