# Drawstep engine · Effects · `playerRule` > Player rule — A floating player rule from a resolving spell; defaults to end of turn (CR 305.2, 402.2, 611.2a). cantAttack: "can't attack with creatures" (CR 508.1c). Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/effects#playerRule ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "playerRule", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Which player(s) — a player selector (default `you`) | | `target` | `TargetDef` | no | A declared player target ("Target player can't play lands this turn") | | `rule` | `"additionalLands" \| "noMaxHandSize" \| "maxHandSizeModifier" \| "cantGainLife" \| "cantLoseLife" \| "lifeCantChange" \| "cantLoseGame" \| "cantWinGame" \| "cantSearchLibraries" \| "cantPlayLands" \| "cantDrawC …` | yes | Which player rule applies | | `amount` | `ValueDef` | no | Additional land plays or signed hand-size change, fixed on resolution | | `duration` | `"endOfTurn" \| "untilYourNextTurn" \| "permanent"` | no | How long it lasts (see Durations on the Relationships & references page) | ## Minimal form ```json {"effect":"playerRule","rule":"additionalLands"} ``` The engine reads that minimal form as: “you may play ? additional lands this turn”. ## Stock examples - **Explore** — “You may play an additional land this turn.” ```json {"effect":"playerRule","who":"you","rule":"additionalLands","amount":1,"duration":"endOfTurn"} ``` - **Hand Limit Study** — “Your maximum hand size is reduced by three for the rest of the game.” ```json {"effect":"playerRule","who":"you","rule":"maxHandSizeModifier","amount":-3,"duration":"permanent"} ``` - **Live Long and Prosper** — “Double your life total. Draw cards equal to the number of cards in your hand. You have no maximum hand size until your next turn.” ```json {"effect":"playerRule","who":"you","rule":"noMaxHandSize","duration":"untilYourNextTurn"} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive