Core: Switch dataRules parsing to W3C HTML5 spec style

Closes gh-778
Core: Fix whitespace in updated methods