updated calculation demo rule to be more like other ones
fixed calculation dependency