Fixed py_binary_rule_builder() / py_test_rule_builder() (from python/api/executables.bzl) failing at analysis time with a visibility error when used to construct a custom rule from an external module.
py_binary_rule_builder()
py_test_rule_builder()
python/api/executables.bzl