doc: add the rules-format file (as markdown)