A rights issue is an issue of shares and raises money for the company.
What they do with the money is up to them, they might use it to buy new non-current assets and expand the business, but they can certainly use it to repay debt if they want to.
Rights issues are of course explained in my free lectures. The lectures are a complete free course for Paper FM and cover everything needed to be able to pass the exam well.