added exit after result in rulesA.clp