An easier but less effective system is to rotate through each civ in turn, allying with all other civs against them until they are destroyed. As soon as the civ is destroyed you declare on the next one and get alliances from everybody against them. When they are totally destroyed, go to the next one...