Rice and Apple Pudding