1. In a small skillet, melt butter over medium heat. Add onion to skillet and saute for 4 minutes. Add grated apple, bourbon, salt, cayenne, cinnamon and cumin and saute for an additional 2 to 3 minutes. Remove from heat and set aside.
2. In a large nonreactive saucepan, add remaining ingredients and mix well. Simmer over medium-low heat for 5 minutes, stirring frequently. Add apple mixture and stir well. Simmer for 2 additional minutes and remove from heat. After cooling, transfer to a tightly covered jar or plastic container and store refrigerated for up to 2 weeks.