@Override
	public boolean execute(RuleExecutorParam param) {
		Rule rule=param.getRule();
		String count=rule.getValue();
		boolean value=false;
		if(count.matches(".\\d")){
			int cnt=Integer.parseInt(count);
			Element element=Util.getElementBasedOnChange(param);
			if(OnTypes.Attribute.equals(rule.getOn())){
				int actCnt=element.getAttributes().getLength();
				if(actCnt==cnt){
					value=true;
				}
			}else if(OnTypes.Child.equals(rule.getOn())){
				List<Element> children=XmlUtil.getChilds(element,rule.getName(),param.getRuleElement().getSchema());
				if(children!=null && children.size()==cnt){
					value=true;
				}
			}
		}
		return value;
		
	}