Rules are conditions within a policy that define how objects in a bucket are managed, such as applying lifecycle actions or filters. You can use prefixes, tags, or both to target specific objects and set expiration policies for current and previous versions. Each policy can include up to 1,000 rules.