even the mexicans who fought against the americans were allowed to return to their ranches and stay on the landthat is so long as they accepted united states rule and agreed to do what the new california government says .