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
try {
				NavigatorContentDescriptor key;
				NavigatorContentExtension extension;
				for (Iterator iter = contentExtensions.keySet().iterator(); iter.hasNext();) {
					key = (NavigatorContentDescriptor) iter.next();
					INavigatorActivationService activation = getActivationService();
					if(!activation.isNavigatorExtensionActive(key.getId())) {
						extension = (NavigatorContentExtension) contentExtensions.get(key);
						iter.remove();
						/* There really shouldn't be any way that this 
							can be null, but just to be safe */					
						if(extension != null) {
							extension.dispose();
						}
					}
				}
			} catch (RuntimeException e) { 
				String msg = e.getMessage() != null ? e.getMessage() : e.toString();
				NavigatorPlugin.logError(0, msg, e);
			}
		} 
		update();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.internal.navigator.INavigatorContentService#update()
	 */
	public void update() {
		rootContentProviders = null;