Fixed dock-literals not working correctly when too few rules are specified