Add tests for DeclarationsPerRule metric
Add DeclarationsPerRule metric
Reference DeclarationsPerRule metric in All metric
Add missing anchors
Add documentation for DeclarationsPerRule metric