Unbreak 'add rule on top of the list' allowing after param to be -1