Rules(Workspace workspace){
  this.root=workspace.getRoot();
  this.teamHook=workspace.getTeamHook();
}

Rules ( Workspace workspace ) { this . root = workspace . getRoot ( ) ; this . teamHook = workspace . getTeamHook ( ) ; }
creates a new scheduling rule factory for the given workspace
