The problem with rectifying is you end up with about 1.4 x the AC voltage so if you have 12v AC input you will end up with about 16.8v DC. This will be ok for longer runs or to keep the voltage up if there are several loads but if it is just for a single relay then you might end up burning it out prematurely!