California will be the first state to place limits on when rap can be used in court.