[#BloombergLP-ball-CategoryManager-removeRules]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager.adoc[CategoryManager]::removeRules
:relfileprefix: ../../../
:mrdocs:

Remove each rule in the specified `ruleSet` from the set of rules maintained by this object&period; Return the number of rules removed&period; The behavior is undefined unless a lock is not held by this thread on the mutex returned by `rulesetMutex`&period;

== Synopsis

Declared in `&lt;ball&lowbar;categorymanager&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
removeRules(xref:BloombergLP/ball/RuleSet.adoc[RuleSet] const& ruleSet);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
