the numerous gates in each wall were closed at night to keep the undesirables of the outer rings from making their way into the inner rings , and it was commonly accepted that the farther one was from the center of the city , the poorer their status .