# Bulk copy rules from ruleset into branch in pega 8 version

**URL:** <https://forums.pega.com/t/bulk-copy-rules-from-ruleset-into-branch-in-pega-8-version/3070>\
**Category:** Pega-as-a-Service\
**Tags:** devops, 8-7, dev-designer-studio, installation-and-deployment, system-administration\
**Created:** [August 10, 2022, 3:19pm UTC](https://forums.pega.com/t/bulk-copy-rules-from-ruleset-into-branch-in-pega-8-version/3070 "2022-08-10T15:19:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sailaja\_k](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@Sailaja\_k](https://forums.pega.com/u/Sailaja_k)\
**Post date:** [August 10, 2022, 3:19pm UTC](https://forums.pega.com/t/bulk-copy-rules-from-ruleset-into-branch-in-pega-8-version/3070/1 "2022-08-10T15:19:45Z")

</div>

Is there a technique for copying all rules from a specific ruleset version into a branch?

The objective would be to have copies in both locations - rather than moving the rules. The destination needs to be a branch.

---

<div class="post-metadata">

**Author:** ![JoeH9464](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@JoeH9464](https://forums.pega.com/u/JoeH9464)\
**Post date:** [August 10, 2022, 4:18pm UTC](https://forums.pega.com/t/bulk-copy-rules-from-ruleset-into-branch-in-pega-8-version/3070/2 "2022-08-10T16:18:40Z")

</div>

@sailajak1919

First thing we need to understand is: why do you want to do this?

None of the standard development practices with branch management would recommend this approach and I can’t think of any valid reason.

However it is possible with the refactor rulesets wizard:

1. Create your destination branch in your application

2. Select Create → SysAdmin → Ruleset. Select branch ruleset and then select which branch to use and which ruleset to branch.

3. Open the Ruleset Wizard at Configure → System → Refactor → Rulesets

4. Select Copy/Merge Ruleset

5. Choose Copy + Entire Ruleset Versions. Select your specific Ruleset and version.

6. In the Target Ruleset Information section, select the branch ruleset we created in step 2, and enter the version 01-01-01

7. Click next to run through the rest of the wizard and it will save as every rule from your ruleset into the branch ruleset.
