Merge pull request #4 from hjanetzek/fix_rgb_parser

fix RGB string parser to handle 3 digit hex format
fix recursion in Rule.hashCode()
fix recursion in Rule.equals()