the rusts had adapted well to ankh-morpork 's post-monarchy centuries by buying and selling and renting and making contacts and doing what aristocrats have always done , which is trim sails and survive .