Rules added

Rules Window functional