The rules of procedure as to objections in depositions in civil actions shall govern in criminal actions when not in conflict with this Code.