Added rule ordering, however position_rule() is still not functional