more comprehensive ui when adding a new rule