Foster's Group has vowed to appeal a ruling in Australia that could see it faced with a hefty tax bill.