Replacement rules

Replacement rules