markup with rules