> For the complete documentation index, see [llms.txt](https://docs.manifold.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.manifold.xyz/client-sdk/sdk/product/common/getrules.md).

# getRules

**getRules()** → ProductRule

Retrieves the product rules, such as start and end dates, maximum tokens per wallet, audience restrictions, and more.

#### Returns: ProductRule

| Field               | Type   | Required | Description                                        |
| ------------------- | ------ | -------- | -------------------------------------------------- |
| startDate           | Date   | ❌        | Start date (if not provided, start immediately)    |
| endDate             | Date   | ❌        | End date (if not provided, the product never ends) |
| audienceRestriction | enum   | ✅        | allowlist \| none                                  |
| maxPerWallet        | number | ❌        | Number of allowed purchased per wallet             |

**AudienceRestriction**

* `allowlist`: The product is restricted to specific wallet addresses.
* `none`: The product has no audience restrictions.
