Updated rules to allow HTML5 tags