If the filter canister is attached to the engine, hard lines are OK. Mount the filter onto the firewall or the inner fender, and flex lines are necessary. Most canister filters were dealer-installed options, so flex lines gave them a little bit of wiggle room about where to attach the canister- - - -ahead of the carburetor or behind it on the intake manifold, for instance.
Jerry