Use object as hashmap to dedupe rules
Fix __proto__ problem