extract rules-related strings from variable and moved into rules_base file