Well, describing someone as a rat has been a form of abuse since the 1500s. Shakespeare himself used the word thus.
Presumably - given the way Aussies often tend to go over the top with their phraseology - they imagined a bagful of rats was that much more nasty than just the one! Perhaps rat-catchers on cattle stations finished a day's work carrying a literal 'ratbag'...not a pleasant thought!