Peter was rebuked before all. Should this have been done in private? Now, he was, by his actions, urging the Gentiles to conform to the law of the Jews.