Boil the spelt in salted water . Drain and when cold , add salt, oil , chilli, parmigiano e cubes of ham . Mix everything well. Cover the baking molds with the pastry , fill it with the mixture and bake at 180 degrees for 10 minutes . Now add a tablespoon beaten egg over each pie and finish cooking