[#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`. == Synopsis Declared in `<ball_ruleset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int removeRuleById(int id); ---- == Description 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`. == Return Value 1 on success, or 0 if no rule has `id` == Parameters [cols="1,4"] |=== | Name| Description | *id* | identifier of the rule to remove |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#