return JsonRuleFactory.makeObjectRule(causeOfDeathRules);
}
private JsonRule getExplorationRequirementsRuleObject(JsonRule visitedLocationsRuleObject,
JsonRule maximumNumberOfVisitsRuleObject, JsonRule killsByLocationIdRuleObject) {
Map<String, JsonRule> explorationRequirementsRules = new HashMap<>();
<BUG>explorationRequirementsRules
.put(KILLS_BY_LOCATION_ID_FIELD, JsonRuleFactory.makeOptionalRule(killsByLocationIdRuleObject));
explorationRequirementsRules
.put(MAXIMUM_NUMBER_OF_VISITS_FIELD, JsonRuleFactory.makeOptionalRule(maximumNumberOfVisitsRuleObject));
explorationRequirementsRules
.put(VISITED_LOCATIONS_FIELD, JsonRuleFactory.makeOptionalRule(visitedLocationsRuleObject));
return JsonRuleFactory.makeObjectRule(explorationRequirementsRules);</BUG>
}

return JsonRuleFactory.makeObjectRule(causeOfDeathRules);
}
private JsonRule getExplorationRequirementsRuleObject(JsonRule visitedLocationsRuleObject,
JsonRule maximumNumberOfVisitsRuleObject, JsonRule killsByLocationIdRuleObject) {
Map<String, JsonRule> explorationRequirementsRules = new HashMap<>();
final JsonRule optionalKillsByLocationRule = JsonRuleFactory.makeOptionalRule(killsByLocationIdRuleObject);
explorationRequirementsRules.put(KILLS_BY_LOCATION_ID_FIELD, optionalKillsByLocationRule);
final JsonRule optionalMaximumNumberRule = JsonRuleFactory.makeOptionalRule(maximumNumberOfVisitsRuleObject);
explorationRequirementsRules.put(MAXIMUM_NUMBER_OF_VISITS_FIELD, optionalMaximumNumberRule);
final JsonRule optionalVisitedLocationsRule = JsonRuleFactory.makeOptionalRule(visitedLocationsRuleObject);
explorationRequirementsRules.put(VISITED_LOCATIONS_FIELD, optionalVisitedLocationsRule);
return JsonRuleFactory.makeObjectRule(explorationRequirementsRules);
}
