[#BloombergLP-ball-RuleSet-numRules] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RuleSet.adoc[RuleSet]::numRules :relfileprefix: ../../../ :mrdocs: Return the number of unique rules maintained in this `RuleSet` object. Note that this value is _not_ the maximum identifier for the rules currently in this container. == Synopsis Declared in `<ball_ruleset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numRules() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#