add rules
add anchors to h2 and h4