XUL Template Primer - Multiple Rules
This tutorial builds on the earlier XUL Template Primer introducing extended XUL template syntax, illustrating the addition of multiple elements. Mozilla then selects from only the data meeting the criteria of the rules to build content.
http://www.xml.com/pub/r/250