Used RuleViolation instead of IRuleViolation.