Update parser.rb

Neater default tag policy meets Beheian “irreducible complexity”.