Simplified the comparisons used in the advanced pass for properties.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Improved the property generation by matching with an "is" prefix for read-write properties.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>