Each company that has an account with the credit card network has to classify themselves as a particular type of business. Grocery stores and supermarkets are category number 5411 so the SunTrust Cash Rewards will see each transaction with code 5411 as eligible for bonus rewards.