fixing a quotes issues. Separating the FreeMarker rules from the HTML rules.