/// <summary>
        /// Fills the assesment rule.
        /// </summary>
        /// <param name="element">Element.</param>
        /// <param name="rule">Rule.</param>
        /// <param name="parameters">Parameters.</param>
        private void fillAssesmentRule(XmlElement element, AssessmentRule rule, params object[] parameters)
        {
            string id         = element.GetAttribute("id");
            int    importance = 0;
            bool   repeatRule = ExString.EqualsDefault(element.GetAttribute("repeatRule"), "yes", false);

            var tmpArgVal = element.GetAttribute("importance");

            if (!string.IsNullOrEmpty(tmpArgVal))
            {
                for (int j = 0; j < AssessmentRule.N_IMPORTANCE_VALUES; j++)
                {
                    if (tmpArgVal.Equals(AssessmentRule.IMPORTANCE_VALUES[j]))
                    {
                        importance = j;
                    }
                }
            }

            rule.setId(id);
            rule.setImportance(importance);
            rule.setRepeatRule(repeatRule);

            rule.setConditions(DOMParserUtility.DOMParse(element.SelectSingleNode("condition"), parameters)        as Conditions ?? new Conditions());

            var concept = element.SelectSingleNode("concept");

            if (concept != null)
            {
                rule.setConcept(concept.ToString().Trim());
            }

            var setText = element.SelectSingleNode("set-text");

            if (setText != null)
            {
                rule.setText(setText.InnerText.ToString().Trim());
            }
        }