In " Open Range , " Costner plays a cowboy who works with cattleman Robert Duvall .