Earlier , Gates met Prime Minister Phan Van Khai and President Tran Duc Luong , who both took time away from the ruling Communist Party National Congress .