Rename Shell_monoid to Iplogic_shell, tweak indentation.
Allow spaces before @RULES@, used as indentation.