Peel, core and slice the apples. Cook until soft, almost a pulp.
Mix the rye bread crumbs, sugar and salt. Add butter and cook over low heat until mixture is almost dry. Stir frequently to prevent scorching. Put a layer of this mixture in a greased baking dish; Cover with a layer of apples. Continue alternating layers until all ingredients are used.
Sprinkle with grated chocolate. Bake in a preheated 350° oven 15 minutes.
Serve with a generous helping of whipped cream. Serves 4 or 5.