Add more rules for primitives.