Interestingly, O'Lochlainn says that he (O'L) "invented or composed (the tune) for Preab san Ol , a convivial song by Richard Barret, the Erris poet."
It's not clear if he is suggesting Rankine wrote the song. Wonder if his book is in the Irish Traditional Music Archive/ I'l have a look.
Regards