Rule Production System Framework