change attribute weighing syntax, add rfc comments