Avoid binary stripping rule code duplication.