fix rule_map::load_lookup error and add delta.cpp