Template:Isda Affected Transactions summ
Note that for {{{{{1}}}|Additional Termination Events}} and {{{{{1}}}|Credit Event Upon Merger}}, all {{{{{1}}}|Transactions}} are automatically caught, and if you want to capture just certain {{{{{1}}}|Transactions}}, you'll need to tweak this definition too.
But why, really, would you want to capture just certain {{{{{1}}}|Transactions}}?
There is a lot more about how pointlessly over-engineered this clause is at the commentary to Section {{{{{1}}}|6(b)(iv)}}, the {{{{{1}}}|Right to Terminate}}.