it seems to be working\! ...
forgot to delete the file "rules.hs", renamed it to "Rules.hs"