Fix reference to rule_list
</div></div>
</div>
-{% if rule_set.count %}
+{% if rule_list.count %}
<div class="panel panel-primary">
<div class="panel-heading">Rules</div>
{% include "promgen/rule_block.html" %}
