Source code rules - Duplicate rules
<!--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=358034)
</details>
<!--IssueSummary end-->
### Problem to solve
When setting up rules it would be a convenience and time saver for users to be able to duplicate rules so they can apply similar rule sets to multiple branches without having to recreate the details each time.
### Proposal
Allow users to duplicate rules.
When users select the duplicate option, take the user to a form containing duplicate rule detail with the branch selection field blank.

issue