How can I limit the rows returned in a table field?
According to the Craft docs , the table field returns an array of rows.

Assuming that is the case, you should be able to use the Twig slice filter:

{% for row in registration.registrationCost | slice(0, 3) %}


You can then use a simple conditional to output the row divider:

{% if loop.index == 3 %}  
    &lt;hr&gt;  
{% endif %}


Stephen