ISelection sel = HandlerUtil.getCurrentSelection(event);
final ECPProject project = (ECPProject) ((StructuredSelection) sel).getFirstElement();
final Shell shell = HandlerUtil.getActiveWorkbenchWindow(event).getShell();
final DependencyDetectionWizard wizard = new DependencyDetectionWizard(project);
final WizardDialog dialog = new WizardDialog(shell, wizard);
int ruleCnt = (Activator.getAccessLayer().getElements(project, "Rule")).size();
if( ruleCnt == 0 )