Added AAMAS 2013 rules engine code