> ## Documentation Index
> Fetch the complete documentation index at: https://bazel-pr-31268.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# rule

A callable value representing the type of a native or Starlark rule. Calling the value during evaluation of a package's BUILD file creates an instance of the rule and adds it to the package's target set. For more information, visit this page about[Rules](https://bazel.build/versions/7.7.1/extending/rules).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.