Extended RDF as a Semantic Foundation of Rule Markup Languages