added rarepercent and keepties parameters to the filter.shared command.