Improve wall placing by rules

Not the best way yet, but a bit better as before ...