Rancher teams up with Montana nonprofit to protect land