changed the subString for frontend rules to 3