In a skillet over medium heat, cook bacon until crisp. Drain, reserving 1/3 cup drippings. Crumble bacon and set aside. Add the sugar, vinegar, celery seed and pepper to drippings. Bring to a boil; cook and stir for 1 minute. Stir in pimientos, green pepper, onion, rice and bacon. Garnish with egg. Serve warm.