Adding Rule module, methods and specs