At the trial or upon the hearing of a motion or an interlocutory proceeding, any part or all of a deposition, so far as admissible under the Rules of Evidence applied as though the witness were then present and testifying, may be used against any party who was present or represented at the taking of the deposition or who had reasonable notice thereof, in accordance with any of the following provisions:
(a) Any deposition may be used by any party for the purpose of contradicting or impeaching the testimony of deponent as a witness.
(b) The deposition of a party or of anyone who at the time of taking the deposition was an officer, official, director, or managing agent, or a person designated under Rule 27.5 to testify on behalf of a public or private corporation, partnership, association or governmental agency which is a party to the action, may be used by an adverse party for any purpose.
(c) The deposition of a witness, whether or not a party, may be used by any party for any purpose if the court finds:
(1) That the witness is dead; or
(2) that it has been shown that it would be burdensome to require the appearance at trial of a witness who is out of Puerto Rico, unless it appears that the absence of the witness was procured by the party offering the deposition; or
(3) that the witness is unable to attend or testify because of age, illness or disability; or
(4) that the party offering the deposition has been unable to produce the attendance of the witness by subpoena; or
(5) upon application and notice, that such exceptional circumcumstances exist as to make it desirable, in the interest of justice and with due regard to the importance of presenting the testimony of witnesses orally in open court, to allow the deposition to be used.
(d) If only part of a deposition is offered in evidence by a party, an adverse party may require him to introduce any other part which ought in fairness to be considered with the part introduced; also any party may introduce any other parts.
Substitution of parties does not affect the right to use depositions previously taken; and, when an action in the General Court of Justice or in any court of the United States or of any of its states, territories or possessions has been dismissed and another action involving the same subject matter is afterwards brought between the same parties or their representatives or successors in interest, all depositions lawfully taken and duly filed in the former action may be used in the latter as if originally taken therefor.