Fix for Bug 5006 - Invalid XHTML in record matching rules template