er login successful&quot;, etl_rules.log_parser);
config_result = etl_rules.parse(&quot;server_name=myapp&quot;, etl_rules.config_parser);
</code></pre></div>
<h4 id="2b-class-object-organization"><strong>2b. $CLASS Object Organization</strong></h4>
<div class="highlight"><pre><span></span><code>/* Define rules in a class */
etl_rules_class = class {
    /* Common parsing interface */
    parse = op(parse_data, parse_rule){op()(parse_data, parse_rule)()};

    /* CSV parsing rule */
    csv_parser = rule $I