Major League Baseball and the players' union announced an agreement Friday to enforce new rules designed to speed up games.