You can add a script to a GameObject if the class is derived from MonoBehaviour.
In this case:
public class RopeEditor : Editor
The class "RopeEditor" is derived from "Editor". There is probably a script called "Rope" which can be added to your game objects. Good luck!