Just thought this was worth posting:
According to rule 8.02(a)(2) through 8.02(a)(6), the pitcher shall not:
(2) expectorate on the ball, either hand or his glove;
(3) rub the ball on his glove, person or clothing;
(4) apply a foreign substance of any kind to the ball;
(5) deface the ball in any manner; or
(6) deliver a ball defaced in a manner prescribed by Rule 8.02(a)(2) through (5) or what is called the "shine" ball, "spit" ball, "mud" ball or "emery" ball. The pitcher is allowed to rub the ball between his bare hands.
According to the penalties set forth in the Official Baseball Rules, "For violation of any part of Rules 8.02(a)(2) through (6): (a) The pitcher shall be ejected immediately from the game and shall be suspended automatically for 10 games."