public static String escapeRuleId ( Rule rule ) { return rule != null ? rule . getId ( ) . replaceAll ( "\\:" , "_" ) : null ; }
Escape the id of the given rule in a way such that it can be used as file name .