Switch dataRules parsing to W3C HTML5 spec style