public static void parseRuleTag(ArrayList<ValidationRule> ruleList,
			String ruleString) {
		if (ruleString.matches(NULLABLE)) {
			ruleList.add(new NotNullRule());
		} else if (ruleString.matches(NUMBER)) {
			ruleList.add(new NumberRule());
		} else if (ruleString.matches(NUMBER_LENGTH)) {
			ruleList.add(new NumberRule());
			ruleList.add(new LengthRule(ruleString.substring(ruleString
					.indexOf(".") + 1)));
		} else if (ruleString.matches(INTEGER)) {
			ruleList.add(new IntegerRule());
		} else if (ruleString.matches(INTEGER_LENGTH)) {
			ruleList.add(new IntegerRule());
			ruleList.add(new LengthRule(ruleString.substring(ruleString
					.indexOf(".") + 1)));
		} else if (ruleString.matches(DATE)) {
			ruleList.add(new DateRule());
		}
	}