/** Try to parse rules.
@return Score.ScoringMethod.TERRITORY if rules string (to lowercase)
is "japanese", Score.ScoringMethod.AREA otherwise. */
public ScoringMethod parseRules()
{
ScoringMethod result = AREA;
String rules = get(StringInfo.RULES);
if (rules != null)
{
rules = rules.trim().toLowerCase(Locale.ENGLISH);
if (rules.equals("japanese"))