SANTA CLARA, Calif. -- Dallas Cowboys kicker Dan Bailey sustained a right groin injury and was ruled out for the rest of the game in the first half of Sunday's game against the San Francisco 49ers at Levi's Stadium.