creates unique divs for each rule. Clean-up required