base X rule X F-[[X]+X]+F[+FX]-X rule F FF