> For the complete documentation index, see [llms.txt](https://docs.g-iot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.g-iot.io/platform-user-guide-book/device/device-dashboard-details/add-device-rules/copy-rules-to-group-of-device.md).

# Copy Rules to Group of Device

The **Copy Device Rules to Device Group** function allows users to efficiently apply existing device rules to multiple devices within a group. Instead of manually configuring rules for each individual device, this feature enables a streamlined process where selected rules from one device can be **copied and assigned** to an entire group, ensuring consistency and reducing configuration time.

With this tool, users can:

* Select a source device with predefined rules.
* Choose a target group where the rules will be applied.
* Ensure that only compatible devices within the group receive the copied rules.

This function is especially useful for managing large-scale deployments, ensuring uniform rule application, and reducing manual setup efforts.

<figure><img src="/files/VBxhtRwS03jTMcjUI6Kn" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
NOTE: The Copy Rules function is restricted to devices with:\
The same firmware version&#x20;

The same hardware version&#x20;

The same hardware capabilities&#x20;

The same device model name (eg LowCostTrackerNG - Advanced)
{% endhint %}

#### **Steps to Copy Device Rules to a Device Group**

1. **Open Devices:** From the **Cockpit menu**, navigate to **Devices** and select the desired device.
2. **Access Rules Section:** Open the **device dashboard** and click on the **Rules** tab.
3. **Ensure Rules Are Configured:** Verify that all necessary rules have been properly set up for the selected device.
4. **Initiate Rule Copy:** Click on the **Copy Rules** icon located at the **top-right corner** of the Rules page.
5. **Select Target Group:** Choose the **device group** where the rules should be copied.
6. **Confirm and Apply:** Click **Continue** to proceed, and the rules will be copied to **all compatible devices** within the selected group.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.g-iot.io/platform-user-guide-book/device/device-dashboard-details/add-device-rules/copy-rules-to-group-of-device.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
