Added total cost to gamerules