When it comes to the AC side you should consult a professional, but as long as the UF rating is the same and the VA rating is the same or higher, I believe that Polypropylene are acceptable, but may not actually filter as intended. Another member here @Jon is likely more able to offer an explanation.
In addition to the above, you should make sure your substitute is of the same “Class” as the original. Class-X (mentioned above) are intended to be hooked up between line and neutral and are designed to fail shorted. Class-Y are intended to be hooked up between line and ground and are designed to fail open.