Testcoverage equals hashcode valid RuleInstance