fix test in loadRules