rules.add(new WOOGNLRule("\"~", "\"", getToken(PreferenceConstants.BINDING_VALUE), '\\'));
	protected List createRules() {		List rules = new ArrayList();		rules.add(new StringLiteralRule("\"", "\"", getToken(PreferenceConstants.CONSTANT_BINDING_VALUE), '\\'));		rules.add(new StringLiteralRule("'", "'", getToken(PreferenceConstants.CONSTANT_BINDING_VALUE), '\\'));		rules.add(new WhitespaceRule(new WodWhitespaceDetector()));		rules.add(new MultilineCommentRule(getToken(PreferenceConstants.COMMENT)));		rules.add(new CommentRule(getToken(PreferenceConstants.COMMENT)));		rules.add(new OperatorRule(new ElementTypeOperatorWordDetector(), getToken(PreferenceConstants.OPERATOR)));		rules.add(new OperatorRule(new OpenDefinitionWordDetector(), getToken(PreferenceConstants.OPERATOR)));		rules.add(new OperatorRule(new AssignmentOperatorWordDetector(), getToken(PreferenceConstants.OPERATOR)));		rules.add(new OperatorRule(new EndAssignmentWordDetector(), getToken(PreferenceConstants.OPERATOR)));		rules.add(new OperatorRule(new CloseDefinitionWordDetector(), getToken(PreferenceConstants.OPERATOR)));		rules.add(new ElementNameRule(getToken(PreferenceConstants.ELEMENT_NAME)));		rules.add(new ElementTypeRule(getToken(PreferenceConstants.ELEMENT_TYPE)));		rules.add(new BindingNameRule(getToken(PreferenceConstants.BINDING_NAME)));		String allowedBindingCharacters = WodclipsePlugin.getDefault().getPreferenceStore().getString(PreferenceConstants.ALLOWED_BINDING_CHARACTERS);		rules.add(new BindingValueRule(getToken(PreferenceConstants.BINDING_VALUE), allowedBindingCharacters));		rules.add(new WordPredicateRule(new UnknownWordDetector(), getToken(PreferenceConstants.UNKNOWN)));		// setDefaultReturnToken(getToken("Default"));		return rules;	}