fix incorrect variable reference
added error handling to procee queue/rules harnesses