fixing double notifications
adding JRule.Color class for creating and manipulating color values easily
allowing rgb_to_hex to take a string as the first parameter