Added Trimming

rules are automatically trimmed