How to check for Soldermask/Track spacing

Hi all, JLCPCB just rejected a flex design I uploaded because of a coverlay-to-track clearance violation (coverlay seems equivalent to solder mask). Rule is this:


See also PCB Manufacturing & Assembly Capabilities - JLCPCB

I wonder how I could set up clearance rules so DRC shows the violation. So far no idea.

I thought of loading both gerber files (copper and solder mask) into the gerber viewer and let it check for clearance. Unfortunately the gerber viewer can’t do clearance checks.

Thanks - Martin