Full wave bridge rectifier
You cannot have a common ground between input and output of a bridge rectifier (or you will short out diodes and Bad Things will happen).

So, ground either the input or the output or neither, depending on safety and other requirements, but never both.