There is only one rule 

Your hack should be written using ruby at some level - it could be a command line utility, a native app, a mobile app or a portal.