what is apartment law