fixed compilation issue in RuleView