Judge says comments to the media by prosecutors about defendant violate rules of what can be said outside of court.