definition = definition != null ? definition.trim() : "";
if (definition.length() == 0) return null;
Logger logger = context.getLogger(getClass());
for (Method method : parserMethods) {
try {
Rule rule = (Rule)method.invoke(null, definition, context);
if (rule != null) {
if (logger.isTraceEnabled()) {
String msg = "Success parsing project rule definition \"{0}\" using {1}";
logger.trace(msg, definition, method);
}