add docs for rule func-names