Fix some logic errors with SELECT ALL button for Rule Sets.