Add scalar type rules