Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Change the tagging rules to use the nested <if> rules.