Update Branch Rules query to return merge options
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=504650) </details> <!--IssueSummary end--> Currently merge options can be queried from a project like: ``` query mergeOptions{ project(fullPath:"root/test-project") { id updateDiffDiscussionPositions removeSourceBranchAfterMerge } } ``` We should expose the attributes from the models created in https://gitlab.com/gitlab-org/gitlab/-/issues/504648 the branch rule type. i.e We should be able to perform queries like ``` query getBranchRules{ project(fullPath:"root/test-project") { id branchRules { nodes { id name updateDiffDiscussionPositions removeSourceBranchAfterMerge } } } } ``` For AllBranchesRules these should be project level settings. For other branch rules, these should be the branch specific settings.
issue