The range of cells in the formula must be "compatible" with the range of cells the formula is applied to. The text value must be in quotes.
Change the formula in the first rule from
=$D:$D=Rare
to
=$D$3:$D$1175="Rare"
Make similar changes to the other rules.