KICS:a knowledge - intensive case-based reasoning systems for statutory building regulations and cases histories