Using vector and extended Boolean matching in an expert system for selecting foster homes