Place oil, onion, apple and bay leaf in a saucepan. Cover and simmer on low heat until apple and onion are dissolved (it takes 45 to 60 minutes). Add tomatoes and salt, and simmer for another half hour. Add pepper after removing the pan from the heat.