Which comma rule is used in this sentence

Unfortunately, you were not selected for the position.

The comma rule used in this sentence is the use of a comma to separate an introductory word or phrase from the rest of the sentence. "Unfortunately" is the introductory word in this sentence, and a comma is used to set it apart.