legal bedroom criteria