[#BloombergLP-ball-LoggerManager-addRules] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManager.adoc[LoggerManager]::addRules :relfileprefix: ../../../ :mrdocs: Add each rule in the specified `ruleSet` to the set of (unique) rules maintained by this object. Return the number of rules added. Note that each rule having the same value as an existing rule will be ignored. == Synopsis Declared in `<ball_loggermanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int addRules(xref:BloombergLP/ball/RuleSet.adoc[RuleSet] const& ruleSet); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#