The fees of referees are Two Dollars ($2.00) to each for every day spent in the business of the reference; but the parties may agree in writing, upon any other rate of compensation, and thereupon such rates shall be allowed.

SOURCE: CCP § 1028.