if ( box.getSelectedIndex() == -1 ) {
Window.alert( TestScenarioConstants.INSTANCE.PleaseChooseARuleToRemove() );
} else {
String r = box.getItemText( box.getSelectedIndex() );
sc.getRules().remove( r );
box.removeItem( box.getSelectedIndex() );
}
}
} );
VerticalPanel actions = new VerticalPanel();
actions.add( add );