Perhaps you just need to give Jagex some credit and that they're actually cracking down on botting and RWTing for real this time...
No one on here, regardless of how much information you give will be able to tell you how you got caught, or what not to do in the future. If you were liquifying all your assets to sell off, that probably threw some flags up if they were watching you at all. They may have also tracked you back from when you RWTed before from gold4rs, etc, and were just waiting on you to see if you would do anything suspicious, which you did.
Sucks, but that's life. You were going to break the rules, and Jagex actually caught you before you did.