Basically cook the apples in cider for 10 minutes, add chillies, cook for another 10, add the other ingredients, cook for 20. Blend the crap out of it with a stick blender and bottle in sterilized bottles. Add the lemon juice just before blending, so you can adjust for pH.