add some rules; paragraph-margin, paragraphs-number control