render rules as clickable html