added strict equals for objects in rules