USE [LicenseManager02_Def]
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblRule] WHERE nID=165)
	INSERT [dbo].[tblRule] ([nID], [nParentID], [tName], [tCaption], [tTmplNameRule], [tTableName], [nDBType], [nTrigger], [nState], [tDescription], [nValidationLevel], [bFinished], [nOrder]) 
	VALUES (165, 159, N'New Rule (165)', N'One License = One Allocated Computer-', N'%Value0%-%Value1%', N'tblWrk_Set_Allocation_Type_159', 64, 1, 1, N'', NULL, 0, 39)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblRule] WHERE nID=166)
	INSERT [dbo].[tblRule] ([nID], [nParentID], [tName], [tCaption], [tTmplNameRule], [tTableName], [nDBType], [nTrigger], [nState], [tDescription], [nValidationLevel], [bFinished], [nOrder]) 
	VALUES (166, 159, N'New Rule (166)', N'One License = One License Server Allocation-', N'%Value0%-%Value1%', N'tblWrk_Set_Allocation_Type_159', 64, 1, 1, N'', NULL, 0, 39)
GO
IF NOT EXISTS(SELECT * FROM [dbo].[tblRule] WHERE nID=167)
	INSERT [dbo].[tblRule] ([nID], [nParentID], [tName], [tCaption], [tTmplNameRule], [tTableName], [nDBType], [nTrigger], [nState], [tDescription], [nValidationLevel], [bFinished], [nOrder]) 
	VALUES (167, 124, N'New Rule (167)', N'License Server - Floating-', N'%Value0%-%Value1%', N'tblWrk_License_Model_Workflow_124', 64, 1, 1, N'', NULL, 0, 36)
GO

