[#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. Return the number of rules removed. The behavior is undefined unless a lock is not held by this thread on the mutex returned by `rulesetMutex`. == Synopsis Declared in `<ball_categorymanager.h>` [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]#