SHAREHOLDER RIGHTS PLAN AGREEMENT DATED AS OF OCTOBER 13, 1992 AND AS AMENDED AND RESTATED AS OF APRIL 28, 2022 BETWEEN TRANSALTA CORPORATION AND COMPUTERSHARE TRUST COMPANY OF CANADA AS RIGHTS AGENT