Fry bacon in a large skillet; remove and add celery.
Cook until tender.
Stir in rice, deviled ham and a mixture of the egg, salt, and pepper to taste.Heat mixture thoroughly and continue stirring.
Spoon into a greased shallow casserole; sprinkle top with the cheese and bacon.
Broil about 5 minutes, or until cheese melts.