Change match rule of prototype