~ re-order rule args to make the diff more logical
~ updated (duration*5)+2 and caught some bugs in the extension template