Fix line number in rule and add rule to ruleset xml