[#BloombergLP-ball-Rule-2constructor-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Rule.adoc[Rule]::Rule :relfileprefix: ../../../ :mrdocs: Create a `Rule` object whose pattern is an empty string and whose thresholds levels are all 0. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator will be used. Note that a newly created `Rule` object does not have any attributes. == Synopsis Declared in `<ball_rule.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Rule(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#