Thats a nice idea. It already would work I think, except that it doesn't know about sewage works and loud pubs.
"Houses more than 300 m away from pubs and more than 1 km away from train stations"
This already works