if UnitClassification("mouseover") == "rare" then
GameTooltip:AddLine("Rare")
end
if UnitIsPlayer("mouseover") then
local className, class = UnitClass("mouseover")
local colour = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS[class])
GameTooltip:AddLine(className, colour.r, colour.g, colour.b)
end