Law firms have been put on the defensive over rates, billing practices and alleged overstaffing of matters related to more than $30 million the Philadelphia Housing Authority spent in legal fees between 2007 and 2010.