In a medium bowl, mix together the sea salt, white sugar, brown sugar, garlic powder, onion powder, paprika, chili powder, black pepper, cayenne pepper, thyme, rosemary, cumin, nutmeg, and allspice. Store at room temperature in an airtight container until ready to use.
Rub generously onto ribs or meat of your choice, cover and refrigerate overnight before smoking.