func GetRegisteredRules() RuleRegistry {
	return ruleRegistry
}
GetRegisteredRules returns the internal ruleRegistry
package rules
import (
	"github.com/mrtazz/checkmake/parser"
)
type Rule interface {
	Name() string
	Description() string
	Run(parser.Makefile, RuleConfig) RuleViolationList
}
type RuleViolation struct {
	Rule       string
	Violation  string
	LineNumber int
}
type RuleViolationList []RuleViolation
type RuleConfig map[string]string
type RuleConfigMap map[string]RuleConfig
type RuleRegistry map[string]Rule
var (
	ruleRegistry RuleRegistry
)
func init() {
	ruleRegistry = make(RuleRegistry)
}
func RegisterRule(r Rule) {
	ruleRegistry[r.Name()] = r
}