L2P: Support locale matching conditional rules.

This adds support for creating conditional expressions that match
locales. The locale/language argument from the applications is
passed to the rule creation function to match against.

This allows a ruleset to support multiple accents. For example:

	dictionary -r en.ldb --language en-US
	dictionary -r en.ldb --language en-GB-x-rp