Yes.
You will have to pay Rs. 22. The amount you pay for purchasing REs isn’t accounted while you apply for rights shares as this amount goes to the shareholder who sold the REs.
You can check the process here: How do I apply for the rights issue of Piramal Enterprises? - #3 by Bhuvan