refactoring and query optimization for performance during street segment processing
optimized performance of street segment addressDirection rule