Fix the standard constructor of DBRule which can't take hasRecursion as input parameter.