Dr Kelly originally wrote in his book that malic acid found in apples will soften the stones. Medical experiments have shown that pectin recycle bile and this will also soften stones. Both pectin and malic acid are found in apples and consequently they have become a common form of preparation. Cooking apples doesn't destroy the malic acid or pectin so stewed apples are just fine.