[#BloombergLP-ball-RuleSet-removeRuleById] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RuleSet.adoc[RuleSet]::removeRuleById :relfileprefix: ../../../ :mrdocs: Remove from this rule set the rule having the specified `id`. Return the number of rules removed (i.e., 1 on success and 0 if there is no rule whose id is `id`). The behavior is undefined unless `0 <= id < e_MAX_NUM_RULES`. == Synopsis Declared in `<ball_ruleset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int removeRuleById(int id); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#