adjustment for css and rules