Add simple trim ending rules