check in customrule implementations