Merging policy per branch

It would be very much appreciated to have the capability to setup merge policy (lock to squash only, lock to rebase only) inside the protection rules instead of globally in the project.

for instance, when following a git flow, you’d want to enforce squashing for feature branch, but rebase for the rest. that’s a very common usecase and i don’t think it’s a lot to change for you guys.

thanks