fix rules from io to core