Added new RULE for trim.