In 2-quart saucepan, stir coconut milk, condensed milk, pineapple juice, rum, cornstarch and egg yolk with whisk. Cook over medium heat 2 to 3 minutes, beating constantly with whisk, until mixture thickens and boils. Boil and continue to stir constantly 1 minute longer. Remove from heat; stir in extracts. Pour into shallow dish; cool 10 minutes. Press plastic wrap on filling to prevent tough layer from forming on top. Refrigerate about 2 hours or until completely cool.