Add pretrans and posttrans matches