Or write one template rule with match="div" and another that matches "div" (which will automatically have lower priority).
You're on a forum provided for readers of Wrox books. Which book are you using? This is very basic stuff that any book should cover.
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference