declarative format

can now export rules as corresponding HTML5 data-* attributes