move rule to conf.yaml, add readme