fixed bugs in rule_set.rb
added sequence_log.c