Homeowners in Glendale will have more flexibility when building casitas after city leaders approved new rules governing accessory dwelling units.