TWELFTH AMENDMENT TO RIGHTS AGREEMENT