Bug 189636 Custom rule template failing
Null poonter exception being thrown when trying to add a custom rule which is causing the rule cretion to fail. Also there is a minor typo in the rule template string.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorContentService.java
*/
	public INavigatorViewerDescriptor getViewerDescriptor() {
		return viewerDescriptor;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.internal.navigator.INavigatorContentService#restoreState(org.eclipse.ui.IMemento)
	 */
	public void restoreState(final IMemento aMemento) {
		synchronized (this) {
			for (Iterator extensionItr = getExtensions().iterator(); extensionItr
					.hasNext();) {
				final NavigatorContentExtension element = (NavigatorContentExtension) extensionItr
						.next();
				ISafeRunnable runnable = new ISafeRunnable() {
					public void run() throws Exception {
						element.restoreState(aMemento);
					}
					public void handleException(Throwable exception) {
						NavigatorPlugin.logError(0,
								"Could not restore state for Common Navigator content extension" 
										+ element.getId(), exception);
					}
				};
				SafeRunner.run(runnable);
			}
		}
	}
	/*