On the written demand of the prosecuting attorney, specifying as particularly as is known to the prosecuting attorney the place, date, and time of the commission of the crime charged, a defendant in a criminal case who intends to offer evidence of an alibi in defense shall, not less than 10 days before trial or such other time as the court may direct, file and serve on the prosecuting attorney a notice in writing of an intention to claim an alibi, which notice shall contain specific information as to the place at which the defendant claims to have been at the time of the alleged offense and, as particularly as is known to the defendant or the defendant’s attorney, the names and addresses of the witnesses by whom the defendant proposes to establish the alibi. Not more than 5 days after receipt of defendant’s witness list, or any other time as the court may direct, the prosecuting attorney shall file and serve on the defendant the names and addresses (as particularly as are known to the prosecuting attorney) of the witnesses the state proposes to offer in rebuttal to discredit the defendant’s alibi at the trial of the cause. Both the defendant and the prosecuting attorney shall be under a continuing duty to promptly disclose the names and addresses of additional witnesses who come to the attention of either party subsequent to filing their respective witness lists as provided in this rule. If a defendant fails to file and serve a copy of the notice as herein required, the court may exclude evidence offered by the defendant for the purpose of providing an alibi, except the defendant’s own testimony. If the notice is given by a defendant, the court may exclude the testimony of any witness offered by the defendant for the purpose of proving an alibi if the name and address of the witness as particularly as is known to the defendant or the defendant’s attorney is not stated in the notice. If the prosecuting attorney fails to file and serve a copy on the defendant of a list of witnesses as herein provided, the court may exclude evidence offered by the state in rebuttal to the defendant’s alibi evidence. If notice is given by the prosecuting attorney, the court may exclude the testimony of any witness offered by the prosecuting attorney for the purpose of rebutting the defense of alibi if the name and address of the witness as particularly as is known to the prosecuting attorney is not stated in the notice. For good cause shown the court may waive the requirements of this rule.