I got a line set made for rear mount calipers (different system) by taking the supplied lines which did not fit and cutting them in half. Then slipped a section of poly tubing over the lines so I could adjust length and fitting orientation. I tested with t bars out at full left/right and jounce/rebound until I found a setup that worked then locked the poly tubing in place with hose clamps. I sent the mock ups to inline tube and had a perfect set of hoses on the way in about a week.

In your case, probably need some type of angle coming out of the caliper... or shorter connection section to avoid the rub. Need to know the thread type at the caliper (? 1/8" NPT, something else?).