new version with more doc for rules
cdata for error urls