A stylesheet rule is part of a stylesheet, which determines the changes which will occur to the element(s) within an (x)html document in which the rule applies. A stylesheet rule consists of two parts. The first part is the selector which specifies the parts of the document which the rule applies. The second part is the declaration block, which specifies the changes to be applied to those parts of the document specified by the selector.