Added a more sophisticated hinterland rule.