added mapping
fixed crash in static hash
added appearance for rules