Added haskell rules