Moved chain predicate to d-g
Initial commit