Coffee makes an excellent base for rubs due to its deep, robust flavor. Additionally, its natural bitterness balances the sweetness from sugars in rubs.
The seeds within the vanilla bean are where much of the flavor resides. Scraping them out allows you to fully harness the concentrated essence of the vanilla.