Button button = (Button) arg.widget;
if ((button.getStyle() & SWT.CHECK) > 0)
{
String ruleTag = button.getText();
BinaryInteractionType rule = ruleTagMap.get(ruleTag);
if (button.getSelection())
{
assert !selectedRules.contains(rule);
selectedRules.add(rule);