adds minor styling fixes to the rules popup