Witnesses under rule shall be attended by an officer, and all their reasonable wants provided for, unless the court, in its discretion, directs that they be allowed to go at large; but in no case where the witnesses are under rule shall they be allowed to hear any testimony in the case.
Tex. Code Crim. Proc. § 36.05