<p>Called when a BB code rule set object is created.</p>

<p>Callback signature:</p>
<blockquote><code><em>\XF\BbCode\RuleSet</em> $ruleSet, $context, $subContext</code></blockquote>

<p>Arguments:</p>
<ol>
	<li><code><em>\XF\BbCode\RuleSet</em> $ruleSet</code> - The ruleset object being created.</li>
	<li><code>$context</code> - A string representing the context of the rule set, usually representing the content type.</li>
	<li><code>$subContext</code> - A string representing the sub-context of the rule set. This may not always be provided, but can represent a specific situation (such as "rss").</li>
</ol>

<p><b>Event hint:</b> The context for the rule set (not including the sub-context).</p>