The rule engine for Monkey Music Challenge