I followed the tutorial on https://helpx.adobe.com/experience-manager/using/aem63_link_rewriter.html to create a link re-writer. Everything worked fine until I noticed one thing. AEM form stopped working. When I removed the CRX configurations that I added according to the tutorial in the link, the AEM form started working again.
Can you please check and add some logs when AEM forms is loaded? (I think) All requests will go through the custom class, may be debugging through this class when the forms page is loaded might give some insight