Fixing RuleSpec definition for use in external tests