FIX property SQL generator

With duplicate property values was not worked correctly
FIX mask over style
ADD comments