Update rules.coffee

Testing auto-deploy with codeship
ES: another change to check the auto-deploy goes green
Add a noddy annotation command
DB - Very noddy Jira plugin.. somewhere to start from.
DB - Support teams
DB - Little refactor
DB - Don't fall over when there are no stories in progress
DB make it work for any team
ES: small tweak, sub-function, testing build notifications too.
DB fix the regex