Exported Nelson rule functions
Added unit tests for the eight rule functions