Well, C19 and C20 bypass the DC output nodes of the bridge to Earth/Chassis. The diode might prevent reverse voltage under fault conditions. C21 might be a filter capacitor (is the negative terminal of the bridge grounded elsewhere?), and the resistor a bleeder on C21.