n language.</p>
<div class="highlight"><pre><span></span><code>/* Define a custom CSV parsing rule */
csv_rule = rule $ID &#39;,&#39; $INT &#39;,&#39; $ID {op(name:$1,age:$3,city:$5){
    return {
        name: name,
        age: age,
        city: city
    };
}};

/* Execute against the custom rule */
result = op()(&quot;John,25,NY&quot;, csv_rule)();
/* Result: {name: &quot;John&quot;, age: 25, city: &quot;NY&quot;} */
</code></pre></div>
<p><strong>Key Features:</strong>
- <strong>Direct Rule Application