Update type rules