parsing of mapping rules done (untested), rules for colors outside mappings not done yet

Signed-off-by: Leo Bärring <leo.barring@gmail.com>