Added Rule Groups and dependencies between rules, added Trade.java to be returned in TradeResponse, added comments and javadocs