Implemented team rules for Kejs