Add spaces: Thesameruleappliestohand-washing.
The same rule applies to hand-washing.