rules text and functionality added with height fix