(k) If any deponent refuses to answer any question propounded on deposition, or any party fails or refuses to answer any written interrogatory authorized by these rules, or fails to comply within 30 days after written request to comply, the party propounding the question may, upon notice to all persons affected thereby, apply by motion to the court for an order compelling an answer. If the motion is granted, and if the court finds that the refusal was without substantial justification or was frivolous or unreasonable, the court may, and ordinarily will, require the deponent or the party, attorney, or non-attorney representative advising the refusal, or both of them, to pay the examining or requesting party the reasonable expenses incurred in obtaining the order, including reasonable counsel fees. If the motion is denied and if the court finds that the motion was made without substantial justification or was frivolous or unreasonable, the court may, and ordinarily will, require the examining party or the attorney advising the motion, or both of them, to pay to the witness the reasonable expenses incurred in opposing the motion, including reasonable counsel fees.