updated rules module to latest version