I believe the 12th Amendment has that covered:
"The person having the greatest number of votes as Vice-President, shall be the Vice-President, if such number be a majority of the whole number of Electors appointed, and if no person have a majority, then from the two highest numbers on the list, the Senate shall choose the Vice-President; a quorum for the purpose shall consist of two-thirds of the whole number of Senators, and a majority of the whole number shall be necessary to a choice. But no person constitutionally ineligible to the office of President shall be eligible to that of Vice-President of the United States."
-- 12th Amendment, U.S. Constitution
"No person shall be elected to the office of the President more than twice, and no person who has held the office of President, or acted as President, for more than two years of a term to which some other person was elected President shall be elected to the office of the President more than once."
-- 22nd Amendment, U.S. Constitution
-- Nephele
But the Twelfth Amendment concerns qualification for service, while the Twenty-second Amendment concerns qualifications for election (Michael C. Dorf. "Why the Constitution permits a Gore-Clinton ticket", CNN Interactive and Scott E. Gant; Bruce G. Peabody (2006-06-13). "How to bring back Bill", Christian Science Monitor. Retrieved on 12 June 2008)