Optimizing the Rating of Your Securitisation