Decision process and optimization rules for seismic retrofit programs