The law opened the door to regulating rents throughout the state and imposed a variety of restrictions on landlords, including prohibiting them from requiring two months' security deposit and giving tenants more time to pay overdue rent before they're evicted.