Added Rule entity with Unique constraint