Implementing when logic in dependent-scaling.drl