moving rule hooks and function to .module file, and removing reference to non-existent rule from .info file