[REFACTOR] Change naming ruletype to ruleType and violationtype to violationType