Rule No. 12 of the NBA rulebook lays out all the ways the league can punish players for inappropriate conduct on the court.