Rand weakens as Fed rate bets lift the US dollar