Refactor: Move Duo Java/Groovy code to its own Maven module
Bug fix: treat equal ranks as 'not stronger'