final Shell shell = HandlerUtil.getActiveWorkbenchWindow(event).getShell();
final RuleApplicationWizard wizard = new RuleApplicationWizard(projectSpace.getProject());
final WizardDialog dialog = new WizardDialog(shell, wizard);
new EMFStoreCommand() {
@Override
protected void doRun()
{
int ruleCnt = (Activator.getAccessLayer().getElements(projectSpace.getProject(), "Rule")).size();