Another way to say "a rug is for protecting a floor" is "A floor can be protected by a rug"