In the first section the sample macro shows quality profile name, enabled rules by rule type, with links to the rules.
In the second section the sample macro shows a breakdown with all enabled rules of the Quality Profile, with severity, rule name , language, rule type and tags.